package com.bnz.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping
public class Econtroller {
    @GetMapping("hello")
    public String hello(){
        int i = 10 / 0;
        return "hello";
    }

    @GetMapping("welcome")
    public void welcome(){
        int i = 10 / 0;
    }
}
